package com.vito.oa.act.dao;

import java.util.List;

import com.vito.act.model.ActExApproveInfoModel;
import com.vito.base.model.MyHashMap;
import com.vito.oa.act.extend.model.OaActExBussModel;

public interface OaActGeneralOperateMapper {
	//查询企业拥有流程列表
	public List<MyHashMap<String, String>> queryProcessListByDept(OaActExBussModel model);
	//判断用户审批是否经处理过
	public int queryCountOfProcessed(String businessId);
	//判断用户审批是否流程中
	public int queryCountOfProcessing(String businessId);
	//查询流程中的审批基本信息
	public MyHashMap<String, String> queryProecssInfoByBusId(String businessId);
	//查询历史表完结流程审批信息
	public MyHashMap<String, String> queryHisProecssInfoByBusId(String businessId);
	//修改审批流程状态
	public int updateUserProcessStatus(String businessId, String status);
	//修改审批信息状态：正常/删除/归档
	public int updateProcressDataStatus(String businessId,String dataStatus);
	
	//分页查询已删除/归档
	public List<MyHashMap<String, String>> queryDeletedOrFiledByPage(ActExApproveInfoModel actExApproveInfoModel);
	public int queryDeletedOrFiledCount(ActExApproveInfoModel actExApproveInfoModel);
	
}
